<script setup lang="ts">
const props = defineProps({
  pageTitle:{
    type: String,
    required: true,
  }
})

</script>

<template>
  <div class="page-wrap">
    <div class="page-wrap_title">{{ pageTitle }}</div>
    <slot name="formBody"></slot>
  </div>
</template>

<style scoped lang="scss">
.page-wrap{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 600px;
  background: #ffffff;
  padding: 32px;
}
.page-wrap_title{
  margin: 0px 0 32px 0;
  font-size: $second-order-fontSize;
  color: $second-order-fontColor;
  line-height: $second-order-lineHeight;
}
</style>